<template>
<div class="basicLayout">
    <a-layout style="min-height: 100vh;">
      <a-layout-header class="header">
      <GlobalHeader/>
      </a-layout-header>


      <a-layout-content class="content">
        <router-view />
      </a-layout-content>


      <a-layout-footer class="footer">
        Footer
      </a-layout-footer>
    </a-layout>
</div>
 
</template>


<style scoped>
.header{
  box-shadow: #eee 1px 1px 5px;
}
.menu-demo {
  box-sizing: border-box;
  width: 100%;
  padding: 40px;
  background-color: var(--color-neutral-2);
}
.content{
  background: linear-gradient(to right,#f9f9f9,#fff);
  margin-bottom: 16px;
  padding: 20px;
}
.footer{
  background: #efefef;
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>


<script>
import GlobalHeader from '@/components/GlobalHeader.vue';
export default{
  components:{GlobalHeader},
}
</script>